home *** CD-ROM | disk | FTP | other *** search
/ Champak 78 / (Vol 78) My Disc.iso / Games / feedin_time_bear_bonanza.swf / scripts / DefineButton2_49 / BUTTONCONDACTION on(release).as
Text File  |  2008-10-28  |  1KB  |  50 lines

  1. on(release){
  2.    var ┬º\x01┬º = 235;
  3.    while(true)
  4.    {
  5.       if(eval("\x01") == 235)
  6.       {
  7.          set("\x01",eval("\x01") + 255);
  8.          ┬º┬ºpush(true);
  9.       }
  10.       else if(eval("\x01") == 490)
  11.       {
  12.          set("\x01",eval("\x01") + 426);
  13.          if(┬º┬ºpop())
  14.          {
  15.             set("\x01",eval("\x01") - 315);
  16.          }
  17.       }
  18.       else if(eval("\x01") == 960)
  19.       {
  20.          set("\x01",eval("\x01") - 424);
  21.       }
  22.       else
  23.       {
  24.          if(eval("\x01") == 916)
  25.          {
  26.             set("\x01",eval("\x01") - 315);
  27.             break;
  28.          }
  29.          if(eval("\x01") == 536)
  30.          {
  31.             set("\x01",eval("\x01") - 394);
  32.             pRoot.funcHITBOX("instructions","view_instructions");
  33.             gotoAndStop("instructions");
  34.             play();
  35.             break;
  36.          }
  37.          if(eval("\x01") != 601)
  38.          {
  39.             if(eval("\x01") == 142)
  40.             {
  41.                set("\x01",eval("\x01") - 142);
  42.                break;
  43.             }
  44.             break;
  45.          }
  46.          set("\x01",eval("\x01") - 65);
  47.       }
  48.    }
  49. }
  50.